
<div class="box-searchs">
    <a class="button-open-form" href="javascript:void(0);">
        一键<br />找人
    </a>
    <div class="box-search-form" id="searchForm" style="display:none;width: 800px; left: -800px;">
        <div class="container">
            <form id="formSearchPeople">
                <h2>一 键 找 人</h2>
                <div class="help-find">10秒快速填写需求，我们将在24小时内找到你需要的人才</div>
                <div class="pull-right">
                    <button class="btn-find" type="submit">立即<br />找人</button>
                </div>

                <div class="search-fields">
                    <div class="search-field-row">
                        我想找 <input type="text" name="job" placeholder="PHP开发" data-val="true" data-val-required="必填" /> 人才, 我的电话是 <input type="text" name="phone" data-val="true" data-val-required="必填" placeholder="139*******" />
                    </div>
                    <div class="search-field-row">
                        一句话需求 <input type="text" name="desc" placeholder="企业网站后台开发" data-val="true" data-val-required="必填" style="width: 568px;" />
                    </div>
                </div>

            </form>
            <a href="#" class="button-close-form"></a>
        </div>
 
    </div>
</div>
<div class="bottom-wrapper">
    <div class="container">
        <div class="row">
            <div class="col-sm-3 xia-logo">
                <img src="__Public__/themes/images/LOGO-white.png" width="100" alt="" />
                <ul>
                    <li><a href="{:U('/aboutus@'.getDomain())}">关于我们</a></li>
                    <li><a href="{:U('/userrules@'.getDomain())}">雇主&雇员守则</a></li>
                    <li><a href="{:U('/questions@'.getDomain())}">常见问题</a></li>
                    <li><a href="http://wpa.qq.com/msgrd?v=3&uin=731309066&site=qq&menu=yes" target="_blank">在线客服</a></li>
                </ul>
            </div>
            <div class="col-sm-7 xia-desc">
                般若虾专注于中高端脑力兼职，是中高端人才的聚集地，中小、初创企业的
                线上办公室；在这里汇聚了一批工作经验丰富，专业技能过硬的中高端人才，
                以及渴求专业人才的企业或项目。在般若虾，你将获得最优质的服务。
            </div>
            <div class="col-sm-2 xia-code">
                <img src="/Public/themes/images/global/weixin.jpg" />
            </div>
        </div>

    </div>
</div>
<div class="footer-wrapper">
    <div class="container">
        <div class="friend-links text-center">
            友情链接：
            <volist name="links" id="link">
                <a href="{$link.url}" target="_blank">{$link.title}</a>
            </volist>
            <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2816606290&site=qq&menu=yes">友链交换QQ：2816606290</a>
        </div>

        <div class="text-center">
            <!--<ul class="footer-menu">
                <li><a href="{:U('/aboutus@'.getDomain())}">关于我们</a></li>
                <li>|</li>
                <li><a href="{:U('/conditions@'.getDomain())}">条款和条件</a></li>
                <li>|</li>
                <li><a href="{:U('/privacy@'.getDomain())}">隐私政策</a></li>
                <li>|</li>
                <li><a href="{:U('/statement@'.getDomain())}">反馈和支持</a></li>
            </ul>-->
            <p class="copy-right">
                <span>@Boroshare.inc.2015</span><span>粤ICP备14086314号</span>
                <!-- CNZZ
                <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://"); document.write(unescape("%3Cspan id='cnzz_stat_icon_1256731470'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s4.cnzz.com/z_stat.php%3Fid%3D1256731470%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
                 CNZZ -->
            </p>
        </div>
    </div>
</div>  <!--尾部开始-->
<div class="global-wrap">
    <ul>
        <!--<li title="帮助">
            <a href="{:U('/faq@'.getDomain())}" data-float-menu="true" data-target="#floatmenu"><img src="__Public__/themes/images/help.png" /></a>
        </li>-->
        <!--<li title="在线客服"><a href="http://wpa.qq.com/msgrd?v=3&uin=731309066&site=qq&menu=yes" target="_blank"><img style="width:40px;height:40px;" src="__Public__/themes/images/qq.png" id="imgQQ" /></a></li>-->
        <!--<li><a href="__APP__/Documents/般若虾雇佣操作手册.docx"><i class="fa fa-book"></i>操作手册</a></li>-->
        <!--<li title="二维码"><a href="{:U('/contactus@'.getDomain())}" title="<img src='__Public__/themes/images/global/weixin.jpg' alt=''\/\>" data-html="true" data-toggle="tooltip" data-placement="left"><img src="__Public__/themes/images/barcode.png" /></a></li>-->
        <li title="返回顶部"><a href="javascript:void(0);" class="back-to-top" style="display:none;"><img src="__Public__/themes/images/backtop.png" /></a></li>
    </ul>
</div>

<div id="loginbox_global" style="display: none;">
    <form id="loginform_global" method="POST" style="width:500px;" class="text-left" novalidate="novalidate" onsubmit='return centreLogin();'>
        <div class="box" id="lbinner_global" style="min-width:300px;">
            <div class="box-title">登陆般若虾<a href="javascript:$.fancybox.close();" class="pull-right" style="color:#fff;"><i class="fa fa-times"></i></a></div>
            <div class="box-content text-center" style="padding:20px;">
                <div class="help-block">
                    登陆以使用般若虾完整功能
                </div>
                <div class="form-group">
                    <input type="text" name="username" id="txtUsername_cteLogin" class="form-control" data-val="true" data-val-required="请输入账号" maxlength="50" placeholder="输入email地址">
                    <span data-valmsg-for="username" data-valmsg-replace="true"></span>
                </div>
                <div class="form-group">
                    <input type="password" name="pwd" id="txtPwd_cteLogin" class="form-control" data-val="true" data-val-required="请输入密码" maxlength="50" placeholder="输入密码">
                    <span data-valmsg-for="pwd" data-valmsg-replace="true"></span>
                </div>
                <p id="cte_notice" style="display: none;color: #FF0000;"></p>
                <div class="form-group">
                    <label class="checkbox-inline">
                        <input type="checkbox" id="rem_cteLogin" name="head_remember" /> 一周内不用登陆
                    </label>
                    &nbsp;&nbsp;&nbsp;
                    <a href="{:U('Login/resetpwd1@'.getDomain())}" class="forgot-link">忘记密码?</a>
                </div>
            </div>
            <div class="box-footer text-center" style="white-space:nowrap;">
                <button type="submit" class="btn btn-success" id="btnBoxSure">登陆</button>
                <span>没有账号?<a href="javascript:window.parent.location.href='{:U('Login/reg@'.getDomain())}';">注册</a></span>
            </div>
        </div>
    </form>
</div>
<script type="text/x-template" id="floatmenu">
    <ul id="float_menu" class="float-menu">
        <li><a href="{:U('/userrules@'.getDomain())}">1.雇主&雇员守则</a></li>
        <li><a href="{:U('/questions@'.getDomain())}">2.常见问题</a></li>
        <li><a href="__APP__/Documents/般若虾雇佣操作手册.docx">3.操作下载</a></li>
        <li><a href="{:U('/faq@'.getDomain())}">4.项目托管理</a></li>
    </ul>
</script>
<script type="text/javascript">
    //$(document).ready(function () {
    //    $("#imgQQ").mouseover(function () {
    //        $(this).attr("src", "__Public__/themes/images/qq.gif");
    //    }).mouseout(function () {
    //        $(this).attr("src", "__Public__/themes/images/qq.png");
    //    });
    //});
    require(["jquery", "jquery.unobtrusive"], function () {
        $(document).ready(function () {
            $("#formSearchPeople").removeData("validator");
            $.validator.unobtrusive.parse("#formSearchPeople");
        });
        $(document).on("click", ".box-searchs a.button-open-form", function () {
            $(this).hide();
            $(".box-searchs .box-search-form").css("width", "100%");
            var w = $(".box-searchs .box-search-form").width();
            $(".box-searchs .box-search-form").css("left", -w);
            $(".box-searchs .box-search-form").show();
            $(".box-searchs .box-search-form").animate({ left: 0 });
            return false;
        });
        $(document).on("click", ".box-searchs a.button-close-form", function () {
            var w = $(".box-searchs .box-search-form").width();
            $(".box-searchs .box-search-form").animate({ left: -w }, function () {
                $("a.button-open-form").show();
                $(".box-searchs .box-search-form").css("width", "800");
                $(".box-searchs .box-search-form").css("left", -800);
                $(".box-searchs .box-search-form").hide();
            });
            return false;
        });
    });

    function showLoginForm_centre() {
        $.fancybox.open("#loginbox_global", { autoSize: true, padding: 0, closeBtn: false });
    }
    function centreLogin() {
        var url = "{:U('Login/login_ajax@'.getDomain(), '', '')}";
        var email = $('#txtUsername_cteLogin').val();
        var userpwd = $('#txtPwd_cteLogin').val();
        var remember = 0;
        if ($("#rem_cteLogin").is(':checked')) {
            remember = 1;
        };
        $("#cte_notice").hide();
        $.ajax({
            type: "get",
            //data:{ 'email': email, 'userpwd': userpwd, 'rem': remember },
            async: false,
            url: url + '-email-' + email + '-userpwd-' + userpwd + '-remember-' + remember,
            dataType: "jsonp",
            jsonp: "callback",//传递给请求处理程序或页面的，用以获得jsonp回调函数名的参数名(一般默认为:callback)
            jsonpCallback: "callme",//自定义的jsonp回调函数名称，默认为jQuery自动生成的随机函数名，也可以写"?"，jQuery会自动为你处理数据
            success: function (data) {
                if (data.success == 1) {
                    var pagen = window.location.pathname;
                    if (pagen.indexOf('/Login') != -1) {
                        window.location.href = "{:U('/@'.getDomain())}";
                    }
                    else {
                        window.location.href = window.location.href;
                    }
                }
                else {
                    $("#cte_notice").show();
                    $("#cte_notice").html(data.msg);
                }
            },
            error: function () {
                $.boroshare.alert({ content: "查询失败!" });
            }
        });
        return false;
    }
</script>